package com.xkcyy.climb.persist;


/**
 * CriteriaBuilder
 *
 * @author yuand
 * @date 2024/3/15
 **/
public interface CriteriaBuilder {
    CriteriaQuery<Object> createQuery();

    <T> CriteriaQuery<T> createQuery(Class<T> resultClass);

    Predicate and(Predicate... restrictions);

    Predicate or(Predicate... restrictions);
}
